/*
 * @Description: 
 * @Author: zoe
 * @Date: 2024-09-06 15:18:09
 * @LastEditors: rendc
 * @LastEditTime: 2024-09-06 15:50:16
 */
public class TestAnimal{
    public static void main(String[] args) {
        Animal animal = new Animal();
        Animal cat = new Animal();
       animal.name = "小V";
       animal.age = 100;
       animal.color = "金色";
       animal.kind = "吞金兽";
       animal.sayHello();
       animal.eat("金子");
       cat.name = "菠萝";
       cat.age = 1;
       cat.color = "脸和脚是黑色，身体是乳白色";
       cat.kind = "暹罗猫";
       cat.say();
       cat.eat("狗");
       

        
    }
}
